//
//  HCCtnterViewController.m
//  HappyChildren
//
//  Created by WillyZhao on 2017/1/21.
//  Copyright © 2017年 WillyZhao. All rights reserved.
//

#import "HCCtnterViewController.h"

#import "HCCenterView.h"

@interface HCCtnterViewController () <HCCenterViewDelegate>

@end

@implementation HCCtnterViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.textTitle = @"服务中心";
    
    HCCenterView *cc = [[HCCenterView alloc] initWithFrame:CGRectMake(0, 0, self.centerView.frame.size.width, self.centerView.frame.size.height)];
    cc.delegate = self;
    [self.centerView addSubview:cc];
    
    // Do any additional setup after loading the view.
}

-(void)clicked {
    [self pushChildrenViewController:@"HCPeoplesViewController" parameterObject:nil dataObject:nil];

}

- (void)didReceiveMemoryWarning {
    
//    
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
